package com.cts.learninglibrary.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cts.learninglibrary.pojo.Comment;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author: kwanghuee
 * @date: 2020/8/18 9:27
 */
@Mapper
public interface CommentMapper extends BaseMapper<Comment> {

    /**
     * 查询全部评论
     * @return
     */
    List<Comment> findAll();
}
